package com.zyx.mapper;

import com.zyx.pojo.Spencer;
import com.zyx.pojo.SpencerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SpencerMapper {
    int countByExample(SpencerExample example);

    int queryByTime();

    int deleteByExample(SpencerExample example);

    int deleteByPrimaryKey(Integer spencerId);

    int insert(Spencer record);

    int insertSelective(Spencer record);

    int queryById(String spencerName);

    List<Spencer> selectByExample(SpencerExample example);

    Spencer selectByPrimaryKey(Integer spencerId);

    int updateByExampleSelective(@Param("record") Spencer record, @Param("example") SpencerExample example);

    int updateByExample(@Param("record") Spencer record, @Param("example") SpencerExample example);

    int updateByPrimaryKeySelective(Spencer record);

    int updateByPrimaryKey(Spencer record);
}